[XEN] No need to change the compat mode of the guest in xen.
authorChristian Limpach <Christian.Limpach@xensource.com>
Wed, 28 Feb 2007 10:40:52 +0000 (10:40 +0000)
committerChristian Limpach <Christian.Limpach@xensource.com>
Wed, 28 Feb 2007 10:40:52 +0000 (10:40 +0000)
The tools set the compat mode already explicitly.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
xen/common/domctl.c

index f7fe2d61ba24a7e369f4d8780fdc0da3ce910e27..b5feea0cbf144e398e61f6ad65659fd86c807eef 100644 (file)
@@ -342,11 +342,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domctl_t) u_domctl)
         if ( (d = domain_create(dom, domcr_flags)) == NULL )
             break;
 
-#ifdef CONFIG_COMPAT
-        if ( IS_COMPAT(current->domain) && ((ret = switch_compat(d)) != 0) )
-            break;
-#endif
-
         ret = 0;
 
         memcpy(d->handle, op->u.createdomain.handle,